from sqlalchemy.orm import DeclarativeBase
import datetime

# 使用新的声明式基类
class Base(DeclarativeBase):
    pass

# 统一时间函数
def default_now() -> datetime.datetime:
    return datetime.datetime.now(datetime.UTC)

